#include "Motor1AS5048AConfig.h"
#include "AS5048A.h"
#include "Motor1SPI1.h"


AS5048A_EXPORT(gMorot1Encoder,0.0f,Motor1SPI1SetCS,Motor1SPI1WriteData,Motor1SPI1ReadData,Motor1SPI1WriteRead)

float Motor1AS5048AReadAngel(void)
{
	return ReadAS5048Angle(&gMorot1Encoder);
}
